package com.tjetc.reflect;

public class _8ClassInit {
    public static void main(String[] args) throws ClassNotFoundException {
        /*
            System.out.println("静态代码块");
            num = 200;
            static int num = 100;


         */
        System.out.println(A.num);
    }
}


class A {
    static {
        System.out.println("静态代码块");
        num = 200;
    }

    static int num = 100;

}

